package com.pms.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pms.common.annotation.Excel;
import com.pms.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 入住信息对象 pms_checkin_info
 * 
 * @author 达瓦里氏
 * @date 2023-03-04
 */
public class PmsCheckinInfoVo extends BaseEntity
{

    /** id */
    private Long id;

    /** 入住信息编码 */
    @Excel(name = "入住信息编码")
    private String code;

    /** 房间id */
    private Long roomId;

    /** 房间 */
    @Excel(name = "房间")
    private String roomName;

    /** 房间 */
    @Excel(name = "房间状态")
    private String roomType;

    /** 客户id */
    private Long clientId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String clientName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String clientCode;

    /** 入住天数 */
    @Excel(name = "入住天数")
    private Integer checkinDay;

    /** 留言备注 */
    @Excel(name = "留言备注")
    private String memo;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 联系方式 */
    private String phone;

    /** 入住时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入住时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkinTime;

    /** 退房时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退房时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkoutTime;

    /** 支付内容 */
    @Excel(name = "支付内容")
    private String name;

    /** 支付宝订单号 */
    @Excel(name = "支付宝订单号")
    private String ali_no;

    /** 支付状态 */
    @Excel(name = "支付状态")
    private String state;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAli_no() {
        return ali_no;
    }

    public void setAli_no(String ali_no) {
        this.ali_no = ali_no;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public String getClientCode() {
        return clientCode;
    }

    public void setClientCode(String clientCode) {
        this.clientCode = clientCode;
    }

    public Integer getCheckinDay() {
        return checkinDay;
    }

    public void setCheckinDay(Integer checkinDay) {
        this.checkinDay = checkinDay;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Long getRoomId() {
        return roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public Long getClientId() {
        return clientId;
    }

    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getCheckinTime() {
        return checkinTime;
    }

    public void setCheckinTime(Date checkinTime) {
        this.checkinTime = checkinTime;
    }

    public Date getCheckoutTime() {
        return checkoutTime;
    }

    public void setCheckoutTime(Date checkoutTime) {
        this.checkoutTime = checkoutTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getRoomType() {
        return roomType;
    }

    public void setRoomType(String roomType) {
        this.roomType = roomType;
    }

    @Override
    public String toString() {
        return "PmsCheckinInfoVo{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", roomId=" + roomId +
                ", roomName='" + roomName + '\'' +
                ", roomType='" + roomType + '\'' +
                ", clientId=" + clientId +
                ", clientName='" + clientName + '\'' +
                ", clientCode='" + clientCode + '\'' +
                ", checkinDay=" + checkinDay +
                ", memo='" + memo + '\'' +
                ", price=" + price +
                ", phone='" + phone + '\'' +
                ", checkinTime=" + checkinTime +
                ", checkoutTime=" + checkoutTime +
                ", name='" + name + '\'' +
                ", ali_no='" + ali_no + '\'' +
                ", state='" + state + '\'' +
                ", delFlag='" + delFlag + '\'' +
                '}';
    }
}
